package com.stylefeng.guns.modular.system.service.impl;

import java.util.List;
import java.util.Map;

import com.stylefeng.guns.modular.system.model.GpDashboard;
import com.stylefeng.guns.modular.system.dao.GpDashboardMapper;
import com.stylefeng.guns.modular.system.service.IGpDashboardService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-07-19
 */
@Service
public class GpDashboardServiceImpl extends ServiceImpl<GpDashboardMapper, GpDashboard> implements IGpDashboardService {

	@Autowired
	private GpDashboardMapper gpDashboardMapper;
	
	@Override
	public GpDashboard selectOneByDate(GpDashboard dashboard) {
		return gpDashboardMapper.selectOneByDate(dashboard);
	}

	@Override
	public List<Map<String, Object>> selectListByDate(GpDashboard dashboard) {
		return gpDashboardMapper.selectListByDate(dashboard);
	}

}
